
#ifndef __IMU_H
#define __IMU_H	
 
#include "sys.h"


  typedef struct
{
	float x;
	float y;
	float z;
} _xyz_f_st;

typedef struct
{
	s16 x;
	s16 y;
	s16 z;
} _xyz_s16_st;

struct myaxis{
	s16 x;
	s16 y;
	s16 z;
};
	extern  struct myaxis g;
	extern	struct myaxis a;
	extern  struct myaxis g_d;
	extern	struct myaxis a_d;
 		extern	 float rol;
		extern	 float pit;
		extern	 float yaw;
void IMU_update(float dT);
#endif 